package com.lecture.java8.test;

public class B extends A{
    static {
        System.out.println("B");
    }
    public B() {
        System.out.println("b");
    }

    @Override
    public void out() {
        System.out.println("b_out");
    }

    public static void main(String[] args) {
        A a = new B();
        a.out();
    }
}
